﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D4B RID: 3403
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class POBNDLOOKCI : IMessage<POBNDLOOKCI>, IMessage, IEquatable<POBNDLOOKCI>, IDeepCloneable<POBNDLOOKCI>, IBufferMessage
	{
		// Token: 0x17002B32 RID: 11058
		// (get) Token: 0x060098C2 RID: 39106 RVA: 0x001984B0 File Offset: 0x001966B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<POBNDLOOKCI> Parser
		{
			get
			{
				return POBNDLOOKCI._parser;
			}
		}

		// Token: 0x17002B33 RID: 11059
		// (get) Token: 0x060098C3 RID: 39107 RVA: 0x001984B7 File Offset: 0x001966B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return POBNDLOOKCIReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002B34 RID: 11060
		// (get) Token: 0x060098C4 RID: 39108 RVA: 0x001984C9 File Offset: 0x001966C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return POBNDLOOKCI.Descriptor;
			}
		}

		// Token: 0x060098C5 RID: 39109 RVA: 0x001984D0 File Offset: 0x001966D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public POBNDLOOKCI()
		{
		}

		// Token: 0x060098C6 RID: 39110 RVA: 0x001984D8 File Offset: 0x001966D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public POBNDLOOKCI(POBNDLOOKCI other) : this()
		{
			this.dialogueId_ = other.dialogueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060098C7 RID: 39111 RVA: 0x001984FD File Offset: 0x001966FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public POBNDLOOKCI Clone()
		{
			return new POBNDLOOKCI(this);
		}

		// Token: 0x17002B35 RID: 11061
		// (get) Token: 0x060098C8 RID: 39112 RVA: 0x00198505 File Offset: 0x00196705
		// (set) Token: 0x060098C9 RID: 39113 RVA: 0x0019850D File Offset: 0x0019670D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DialogueId
		{
			get
			{
				return this.dialogueId_;
			}
			set
			{
				this.dialogueId_ = value;
			}
		}

		// Token: 0x060098CA RID: 39114 RVA: 0x00198516 File Offset: 0x00196716
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as POBNDLOOKCI);
		}

		// Token: 0x060098CB RID: 39115 RVA: 0x00198524 File Offset: 0x00196724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(POBNDLOOKCI other)
		{
			return other != null && (other == this || (this.DialogueId == other.DialogueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060098CC RID: 39116 RVA: 0x00198554 File Offset: 0x00196754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DialogueId != 0U)
			{
				num ^= this.DialogueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060098CD RID: 39117 RVA: 0x00198593 File Offset: 0x00196793
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060098CE RID: 39118 RVA: 0x0019859B File Offset: 0x0019679B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060098CF RID: 39119 RVA: 0x001985A4 File Offset: 0x001967A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DialogueId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.DialogueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060098D0 RID: 39120 RVA: 0x001985D8 File Offset: 0x001967D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DialogueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DialogueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060098D1 RID: 39121 RVA: 0x00198616 File Offset: 0x00196816
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(POBNDLOOKCI other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DialogueId != 0U)
			{
				this.DialogueId = other.DialogueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060098D2 RID: 39122 RVA: 0x00198647 File Offset: 0x00196847
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060098D3 RID: 39123 RVA: 0x00198650 File Offset: 0x00196850
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.DialogueId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003ACF RID: 15055
		private static readonly MessageParser<POBNDLOOKCI> _parser = new MessageParser<POBNDLOOKCI>(() => new POBNDLOOKCI());

		// Token: 0x04003AD0 RID: 15056
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003AD1 RID: 15057
		public const int DialogueIdFieldNumber = 13;

		// Token: 0x04003AD2 RID: 15058
		private uint dialogueId_;
	}
}
